package stc.skymobi.demo.test;

import com.skymobi.netty.demo.bean.GetUrlRequest;
import com.skymobi.netty.demo.bean.GetUrlResponse;
import org.junit.Test;
import stc.skymobi.app.commons.test.BaseTcpTlvTest;

public class TcpClient extends BaseTcpTlvTest {

    @Test
    public void json() {
        GetUrlRequest request = new GetUrlRequest();
        request.setToken(10086);
        request.setUrl("http://wap.baidu.com");
        GetUrlResponse resp = getResponse(request);
        System.out.println(resp);
    }
}
